home *** CD-ROM | disk | FTP | other *** search
- Path: brazerko.com!szarka
- From: szarka@brazerko.com (Szarka)
- Newsgroups: comp.lang.c++
- Subject: Beginner Questions
- Message-ID: <03e46273@brazerko.com>
- Date: Thu, 11 Jan 96 18:37:38 -0500
- Organization: Brazerko Communications
-
- -=> guusl@eiffel.com spake unto All, saying <=-
-
- > Second, what is the "inline" function do?
-
- gu> When a function is declared as `inline' each call to that function
- gu> will not result in an actual call, but the code of that function will
- gu> be copied to the spot in the program where the call is made. Think of
- gu> it as a macro that is defined through `#define'.
-
- Except that--and please check my understanding here as I'm a beginner,
- too--recursive functions cannot be completely expanded inline. Only the
- first iteration is expanded.
-
-
- ... Life would be much easier if I had the source code.
-
-
- --
-
- .-------------------------------------------------------------------------.
- | Brazerko Communications --- +1 860 892 INET ------- szarka@brazerko.com |
- | A2 B4 B9 2C 6A 6F BE C8 ---- Robert Szarka ---- A4 0A 00 C9 8A 13 FF 76 |
- | http://www.mindport.net/~szarka/home.html ----- mrnoise@econs.umass.edu |
- `-------------------------------------------------------------------------'
-
-